package org.ams.account.dao;

import java.util.List;
import java.util.Map;

import org.ams.account.entity.Account;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface AccountDao {

	Account queryAccountByAccountName(@Param("accountName") String accountName);

	List<Account> queryAccountList(Map<String, Object> params);

	Integer deleteAccountsByIds(Map<String, Object> params);

	Account queryAccountByAccountId(@Param("accountId") Integer accountId);

	Integer updateAccount(Account account);

	Integer saveAccount(Account account);

}
